package com.itheima.shengxiao;

public class Demo {

    public static void main(String[] args) {

        Cookie cookie = new Cookie();
        Foodie foodie = new Foodie();
        Thread t1 = new Thread(cookie);
        Thread t2 = new Thread(foodie);

        t1.start();
        t2.start();


    }
}
